package com.whut.whw.find;

import java.util.Date;

/**
 * <pre>
 *     author : 杨丽金
 *     time   : 2017/06/09
 *     desc   :
 *     version: 1.0
 * </pre>
 */
public class GoodsEntity {
    // id
    private int id;
    // 换品主图片
    private String mainImgUrl;
    // 用户头像
    private String headImgUrl;
    // 账号
    private String name;
    // 发布时间
    private Date publishTime;
    // 地址
    private String address;
    // 售价
    private String price;
    // 标题
    private String title;
    // 简介
    private String description;
    // 评论数
    private int commentCount;
    // 点赞数
    private int likeCount;
    // 想要数
    private int wantCount;

    // 分类
    private String type;
    // 交易类型
    private int changeType;
    //    新旧程度
    private String oldDegreee;
    //    我想换
    private String desiredThings;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMainImgUrl() {
        return mainImgUrl;
    }

    public void setMainImgUrl(String mainImgUrl) {
        this.mainImgUrl = mainImgUrl;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public int getWantCount() {
        return wantCount;
    }

    public void setWantCount(int wantCount) {
        this.wantCount = wantCount;
    }

    @Override
    public String toString() {
        return "GoodsEntity{" +
                "id=" + id +
                ", mainImgUrl='" + mainImgUrl + '\'' +
                ", headImgUrl='" + headImgUrl + '\'' +
                ", name='" + name + '\'' +
                ", publishTime=" + publishTime +
                ", address='" + address + '\'' +
                ", price='" + price + '\'' +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", commentCount=" + commentCount +
                ", likeCount=" + likeCount +
                ", wantCount=" + wantCount +
                '}';
    }
}
